<%@page import="com.taxipark.domain.TaxiDriver"%>
<%@page import="com.taxipark.domain.TaxiManager"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">



<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Login</title>

<style type="text/css">
table,tr,td {
	font-size: .9em;
	padding: 5px;
	background-color: #dddddd;
}
</style>
</head>

<body>


	<%
		// start scriptlet
TaxiManager manager = new TaxiManager("test","man");
		if ( true ) {
	%>
	

	<form method="post" action="driverslist">
		<p>Enter your ID and Password to login.</p>

		<table>
			<tr>
				<td>ID</td>

				<td><input type="text" name="ID" /></td>
			</tr>

			<tr>
				<td>Password</td>

				<td><input type="text" name="Password" /></td>
			</tr>

			<tr>
				<td colspan="2"><input type="submit" value="Submit" /></td>
			</tr>
		</table>
	</form>

	<%
	
		} 
		else {
			
	%>
	
	 <jsp:forward page="driverListView.jsp" />

	<%
		
		} 
	%>
	
</body>

</html>
